(This number is set in debian/rules.)
Needed as Debian buildds use tarballs
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name deb_nonversioneer_version.patch
def test_git_version():
# GH 21295
git_version = pd.__git_version__
- assert len(git_version) == 40
- assert all(c in string.hexdigits for c in git_version)
+ assert git_version == 'not-from-upstream-git'
def test_version_tag():
assert "INSTALLED VERSIONS" in result
# check full commit hash
- assert re.search(r"commit\s*:\s[0-9a-f]{40}\n", result)
+ assert re.search(r"commit\s*:\snot-from-upstream-git\n", result)
# check required dependency
# 2020-12-09 npdev has "dirty" in the tag